SGGetIndChannel
TheSGGetIndChannel
function allows you to collect information about all of the channel components currently in use by a sequence grabber component.
pascal ComponentResult SGGetIndChannel (SeqGrabComponent s, short index, SGChannel *ref, OSType *chanType);
s
- Specifies the component instance that identifies your connection to the sequence grabber component. You obtain this value from the Component Manager's
OpenDefaultComponent
orOpenComponent
function.index
- Specifies an index value. This value identifies the channel to be queried. The first channel has an index value of 1.
ref
- Contains a pointer to a field to receive a value identifying your connection to the channel. If you do not want to receive this information, set this parameter to
nil
.chanType
- Contains a pointer to a field to receive the channel's subtype value. This value indicates the media type supported by the channel component. The following values are valid:
VideoMediaType
- Video channel
SoundMediaType
- Sound channel
- If you do not want to receive this information, set this parameter to
nil
.DESCRIPTION
You may use theSGGetIndChannel
function to retrieve information about each of the channel components currently in use by a sequence grabber component. You identify
the channel in which you are interested by specifying an index value. These index values start at 1 and increase sequentially; each channel has its own index value.RESULT CODE
paramErr -50 Component not found
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help